package com.money.tracker.system.config;


import com.money.tracker.auth.enums.CaptchaCategoryEnum;
import com.money.tracker.auth.enums.CaptchaTypeEnum;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * <p>
 *
 * <p>
 *
 * @author zhangshuai
 * &#064;@date 2024/09/21
 */
@Data
@Component
@ConfigurationProperties(prefix = "captcha")
public class CaptchaConfig {

    /**
     * 验证码类型
     */
    private CaptchaTypeEnum type;

    /**
     * 验证码类别
     */
    private CaptchaCategoryEnum category;

    /**
     * 数字验证码位数
     */
    private Integer numberLength;

    /**
     * 字符验证码长度
     */
    private Integer charLength;
}
